package com.kkb.robotcustomerservice.entities;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("knowledge_base")
public class KnowledgeBase {
    @TableField("q_id")
    @TableId(type = IdType.AUTO)
    private Integer qId;
    @ExcelProperty("标准问题")
    private String question;
    @ExcelProperty("领域")
    private String field;
    @ExcelProperty("意图")
    private String intention;
    @ExcelProperty("关键词")
    private String keyword;
    @ExcelProperty("标准答案")
    private String answer;
    @TableField("similar_question")
    @ExcelProperty("相似问题")
    private String similarQuestion;
    @TableField("create_user")
    private String createUser;
    @TableField("create_sort")
    private String createSort;
    private String status;
}
